package sim.tests.games.bullet;

import sim.Image;
import sim.Updateable;

public class Tile implements Updateable
{
	public boolean solid;
	public boolean visible;
	Image sprite;
	public float x, y;
	
	public Tile(float x, float y ,Image image)
	{
		this.x = x;
		this.y = y;
		this.sprite = image;
		sprite.setSize(1, 1);
		solid = false;
		visible = true;
		
	}

	@Override
	public void draw()
	{
		//if(visible)
			sprite.draw(x, y);
		
	}

	@Override
	public void update(float timeStep)
	{
		// TODO Auto-generated method stub
		
	}

}
